<?php

use Illuminate\Database\Seeder;

class PermissionsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('permissions')->delete();
        
        \DB::table('permissions')->insert(array (
            0 => 
            array (
                'id' => 1,
                'name' => 'system.index',
                'guard_name' => 'admin',
                'display_name' => '系统管理',
                'route' => NULL,
                'sort' => 0,
                'icon' => 'fa-cog',
                'parent_id' => 0,
                'created_at' => '2020-02-12 09:45:52',
                'updated_at' => '2020-02-12 13:22:51',
            ),
            1 => 
            array (
                'id' => 2,
                'name' => 'system.role',
                'guard_name' => 'admin',
                'display_name' => '角色管理',
                'route' => 'admin.role',
                'sort' => 0,
                'icon' => 'fa-users',
                'parent_id' => 1,
                'created_at' => '2020-02-12 09:48:36',
                'updated_at' => '2020-02-12 09:48:40',
            ),
            2 => 
            array (
                'id' => 3,
                'name' => 'system.role.create',
                'guard_name' => 'admin',
                'display_name' => '添加',
                'route' => 'admin.role.create',
                'sort' => 0,
                'icon' => 'fa-plus-square-o',
                'parent_id' => 2,
                'created_at' => '2020-02-12 11:38:58',
                'updated_at' => '2020-02-12 11:39:02',
            ),
            3 => 
            array (
                'id' => 4,
                'name' => 'system.role.edit',
                'guard_name' => 'admin',
                'display_name' => '编辑',
                'route' => 'admin.role.edit',
                'sort' => 0,
                'icon' => 'fa-pencil-square-o',
                'parent_id' => 2,
                'created_at' => '2020-02-12 11:39:45',
                'updated_at' => '2020-02-12 11:39:48',
            ),
            4 => 
            array (
                'id' => 5,
                'name' => 'system.role.permission',
                'guard_name' => 'admin',
                'display_name' => '权限',
                'route' => 'admin.role.permission',
                'sort' => 0,
                'icon' => 'fa-paper-plane-o',
                'parent_id' => 2,
                'created_at' => '2020-02-12 11:40:38',
                'updated_at' => '2020-02-12 11:40:41',
            ),
            5 => 
            array (
                'id' => 6,
                'name' => 'system.role.destroy',
                'guard_name' => 'admin',
                'display_name' => '删除',
                'route' => 'admin.role.destroy',
                'sort' => 0,
                'icon' => 'fa-trash-o',
                'parent_id' => 2,
                'created_at' => '2020-02-12 11:42:28',
                'updated_at' => '2020-02-12 11:42:30',
            ),
            6 => 
            array (
                'id' => 7,
                'name' => 'system.user',
                'guard_name' => 'admin',
                'display_name' => '用户管理',
                'route' => 'admin.user',
                'sort' => 0,
                'icon' => 'fa-user',
                'parent_id' => 1,
                'created_at' => '2020-02-12 09:48:36',
                'updated_at' => '2020-02-12 09:48:40',
            ),
            7 => 
            array (
                'id' => 8,
                'name' => 'system.user.create',
                'guard_name' => 'admin',
                'display_name' => '添加',
                'route' => 'admin.user.create',
                'sort' => 0,
                'icon' => 'fa-plus-square-o',
                'parent_id' => 7,
                'created_at' => '2020-02-12 11:38:58',
                'updated_at' => '2020-02-12 11:39:02',
            ),
            8 => 
            array (
                'id' => 9,
                'name' => 'system.user.edit',
                'guard_name' => 'admin',
                'display_name' => '编辑',
                'route' => 'admin.user.edit',
                'sort' => 0,
                'icon' => 'fa-pencil-square-o',
                'parent_id' => 7,
                'created_at' => '2020-02-12 11:39:45',
                'updated_at' => '2020-02-12 11:39:48',
            ),
            9 => 
            array (
                'id' => 10,
                'name' => 'system.user.permission',
                'guard_name' => 'admin',
                'display_name' => '权限',
                'route' => 'admin.user.permission',
                'sort' => 0,
                'icon' => 'fa-paper-plane-o',
                'parent_id' => 7,
                'created_at' => '2020-02-12 11:40:38',
                'updated_at' => '2020-02-12 11:40:41',
            ),
            10 => 
            array (
                'id' => 11,
                'name' => 'system.user.destroy',
                'guard_name' => 'admin',
                'display_name' => '删除',
                'route' => 'admin.user.destroy',
                'sort' => 0,
                'icon' => 'fa-trash-o',
                'parent_id' => 7,
                'created_at' => '2020-02-12 11:42:28',
                'updated_at' => '2020-02-12 11:42:30',
            ),
            11 => 
            array (
                'id' => 12,
                'name' => 'system.permission',
                'guard_name' => 'admin',
                'display_name' => '权限管理',
                'route' => 'admin.permission',
                'sort' => 0,
                'icon' => 'fa-paper-plane',
                'parent_id' => 1,
                'created_at' => '2020-02-12 13:16:32',
                'updated_at' => '2020-02-12 13:16:35',
            ),
            12 => 
            array (
                'id' => 13,
                'name' => 'system.icon',
                'guard_name' => 'admin',
                'display_name' => '图标管理',
                'route' => 'admin.icon',
                'sort' => 0,
                'icon' => 'fa-file-picture-o',
                'parent_id' => 1,
                'created_at' => '2020-02-12 14:11:01',
                'updated_at' => '2020-02-12 14:11:04',
            ),
            13 => 
            array (
                'id' => 14,
                'name' => 'system.icon.create',
                'guard_name' => 'admin',
                'display_name' => '添加',
                'route' => 'admin.icon.create',
                'sort' => 0,
                'icon' => 'fa-plus-square-o',
                'parent_id' => 13,
                'created_at' => '2020-02-12 14:13:18',
                'updated_at' => '2020-02-12 14:13:21',
            ),
            14 => 
            array (
                'id' => 15,
                'name' => 'system.icon.edit',
                'guard_name' => 'admin',
                'display_name' => '编辑',
                'route' => 'admin.icon.edit',
                'sort' => 5,
                'icon' => 'fa-pencil-square-o',
                'parent_id' => 13,
                'created_at' => '2020-02-12 14:13:54',
                'updated_at' => '2020-02-12 14:13:57',
            ),
            15 => 
            array (
                'id' => 16,
                'name' => 'system.config',
                'guard_name' => 'admin',
                'display_name' => '配置管理',
                'route' => 'admin.config',
                'sort' => 0,
                'icon' => 'fa-cog',
                'parent_id' => 1,
                'created_at' => '2020-02-12 18:46:50',
                'updated_at' => '2020-02-12 18:46:55',
            ),
            16 => 
            array (
                'id' => 17,
                'name' => 'system.config.create',
                'guard_name' => 'admin',
                'display_name' => '添加 ',
                'route' => 'admin.config.create',
                'sort' => 0,
                'icon' => 'fa-plus-square-o',
                'parent_id' => 16,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            17 => 
            array (
                'id' => 18,
                'name' => 'system.config.list',
                'guard_name' => 'admin',
                'display_name' => '列表',
                'route' => 'admin.config.list',
                'sort' => 0,
                'icon' => 'fa-list',
                'parent_id' => 16,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            18 => 
            array (
                'id' => 19,
                'name' => 'system.config.edit',
                'guard_name' => 'admin',
                'display_name' => '编辑',
                'route' => 'admin.config.edit',
                'sort' => 0,
                'icon' => 'fa-pencil-square-o',
                'parent_id' => 16,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            19 => 
            array (
                'id' => 20,
                'name' => 'system.config.destroy',
                'guard_name' => 'admin',
                'display_name' => '删除',
                'route' => 'admin.config.destroy',
                'sort' => 0,
                'icon' => 'fa-trash-o',
                'parent_id' => 16,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            20 => 
            array (
                'id' => 21,
                'name' => 'message.index',
                'guard_name' => 'admin',
                'display_name' => '消息管理',
                'route' => '',
                'sort' => 0,
                'icon' => 'fa-bullhorn',
                'parent_id' => 0,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            21 => 
            array (
                'id' => 22,
                'name' => 'message.list',
                'guard_name' => 'admin',
                'display_name' => '消息列表',
                'route' => 'admin.message',
                'sort' => 0,
                'icon' => 'fa-list',
                'parent_id' => 21,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            22 => 
            array (
                'id' => 23,
                'name' => 'message.list.create',
                'guard_name' => 'admin',
                'display_name' => '添加',
                'route' => 'admin.message.create',
                'sort' => 0,
                'icon' => 'fa-plus-square-o',
                'parent_id' => 22,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            23 => 
            array (
                'id' => 24,
                'name' => 'message.list.edit',
                'guard_name' => 'admin',
                'display_name' => '编辑',
                'route' => 'admin.message.edit',
                'sort' => 0,
                'icon' => 'fa-pencil-square-o',
                'parent_id' => 22,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            24 => 
            array (
                'id' => 25,
                'name' => 'message.list.detail',
                'guard_name' => 'admin',
                'display_name' => '查看',
                'route' => 'admin.message.detail',
                'sort' => 0,
                'icon' => 'fa-eye',
                'parent_id' => 22,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
            25 => 
            array (
                'id' => 26,
                'name' => 'message.list.destroy',
                'guard_name' => 'admin',
                'display_name' => '删除',
                'route' => 'admin.message.destroy',
                'sort' => 0,
                'icon' => 'fa-trash-o',
                'parent_id' => 22,
                'created_at' => '2020-02-12 18:47:42',
                'updated_at' => '2020-02-12 18:47:45',
            ),
        ));
        
        
    }
}